<#include "/common/layout_dl.html"> <@header> </@header> <@body>
<form class="form-horizontal layui-form layui-form-pane" method="post"
	action="${base}/jobMessage/editMessage">
	<div class="box-body">
		<div class="form-group">
			<label for="jobName" class="col-sm-2 control-label">职位名称</label>
			<input type="hidden" id="id" name="id" value="${jobMessage.id}">
			<div class="col-sm-10">
				<input type="text" id="jobName" name="jobName"
					value="${(jobMessage.jobName)!}" placeholder="请输入职位名称" class="form-control"
					lay-verify="required|jobName">
			</div>
		</div>
		<div class="form-group">
			<label for="needSkills" class="col-sm-2 control-label">技能要求</label>
			<div class="col-sm-10">
				<input type="text" id="needSkills" name="needSkills"
					value="${(jobMessage.needSkills)!}" placeholder="请输入技能要求" class="form-control"
					lay-verify="required|needSkills">
			</div>
		</div>
		<div class="form-group">
			<label for="workYears" class="col-sm-2 control-label">工作年限</label>
			<div class="col-sm-10">
				<input type="text" id="workYears" name="workYears"
					value="${(jobMessage.workYears)!}" placeholder="请输入工作年限" class="form-control"
					lay-verify="required|workYears">
			</div>

		</div>
		

		<div class="form-group">
			<label for="salaryRange" class="col-sm-2 control-label">薪资范围</label>
			<div class="col-sm-10">
				<input type="text" id="salaryRange" name="salaryRange"
					value="${(jobMessage.salaryRange)!}" placeholder="请输入薪资范围"  class="form-control"
					lay-verify="required|salaryRange">
			</div>
		</div>
		<div class="form-group">
			<label for="edu" class="col-sm-2 control-label">学历要求</label>
			<div class="col-sm-10">
				<input type="text" id="edu" name="edu" placeholder="请输入学历要求"  value="${(jobMessage.edu)!}"
					class="form-control">
			</div>
		</div>
		
		<div class="form-group">
			<label for="status" class="col-sm-2 control-label">职位状态</label>
			<div class="col-sm-10">
				<input type="text" id="status" name="status"
					value="${(jobMessage.status)!}" placeholder="请输入职位状态"  class="form-control"
					lay-verify="required|status">
			</div>
		</div>
		
		<div class="form-group">
			<label for="updateMan" class="col-sm-2 control-label">更新人</label>
			<div class="col-sm-10">
				<input type="text" id="updateMan" name="updateMan"
					value="${(jobMessage.updateMan)!}" placeholder="请输入更新时间"  class="form-control"
					lay-verify="required|updateMan">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label"></label>
			<div class="col-sm-10">
				<button type="submit" class="btn btn-success" lay-submit
					lay-filter="submit">
					<i class="fa fa-save"></i> 提 交
				</button>
			</div>
		</div>
	</div>
	<!-- /.box-body -->
</form>
<script>

  window.onload=function () {

      $($.post('${base}/china/allProvinces',
          {},
          function(response){
              if(response.code==200){
                  $("#pid").empty();
                  $("#pid").select2({
                      data:response.data
                  });
              }
          }));
  }




</script>
</@body> <@footer> </@footer>
